home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / man / manpages.zoo / touch.1 < prev    next >
Encoding:
Text File  |  1991-11-11  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. TOUCH(1L)                                               TOUCH(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      touch - change file timestamps
  10.  
  11. SYNOPSIS
  12.      touch [-acm] [-r reference-file] [-t MMDDhhmm[[CC]YY][.ss]]
  13.      [-d time] [+time={atime,access,use,mtime,modify}]
  14.      [+date=time] [+file=reference-file] [+no-create] file...
  15.  
  16. DESCRIPTION
  17.      This manual page documents the GNU version of touch.  touch
  18.      changes the access and modification times of each given file
  19.      to the current time.  Files that do not exist are created
  20.      empty.  If the first file name given would be a valid argu-
  21.      ment to the -_✓t option and no timestamp is given with any of
  22.      the -_✓d, -_✓r, or -_✓t options and the -- argument is not given,
  23.      that argument is interpreted as the time for the other files
  24.      instead of as a filename.
  25.  
  26.      OPTIONS
  27.  
  28.      -_✓a, +_✓t_✓i_✓m_✓e=_✓a_✓t_✓i_✓m_✓e, +_✓t_✓i_✓m_✓e=_✓a_✓c_✓c_✓e_✓s_✓s, +_✓t_✓i_✓m_✓e=_✓u_✓s_✓e
  29.           Change the access time only.
  30.  
  31.      -_✓c, +_✓n_✓o-_✓c_✓r_✓e_✓a_✓t_✓e
  32.           Do not create files that do not exist.
  33.  
  34.      -_✓d, +_✓d_✓a_✓t_✓e _✓t_✓i_✓m_✓e
  35.           Use _✓t_✓i_✓m_✓e (which can be in various common formats)
  36.           instead of the current time.  It can contain month
  37.           names, timezones, `am' and `pm', etc.
  38.  
  39.      -_✓m, +_✓t_✓i_✓m_✓e=_✓m_✓t_✓i_✓m_✓e, +_✓t_✓i_✓m_✓e=_✓m_✓o_✓d_✓i_✓f_✓y
  40.           Change the modification time only.
  41.  
  42.      -_✓r, +_✓f_✓i_✓l_✓e _✓r_✓e_✓f_✓e_✓r_✓e_✓n_✓c_✓e-_✓f_✓i_✓l_✓e
  43.           Use the times of _✓r_✓e_✓f_✓e_✓r_✓e_✓n_✓c_✓e-_✓f_✓i_✓l_✓e instead of the current
  44.           time.
  45.  
  46.      -_✓t _✓M_✓M_✓D_✓D_✓h_✓h_✓m_✓m[[_✓C_✓C]_✓Y_✓Y][._✓s_✓s]
  47.           Use the argument (months, days, hours, minutes,
  48.           optional century and years, optional seconds) instead
  49.           of the current time.
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Page 1
  64.  
  65.  
  66.  
  67.